<!-- 用户未登录时显示 -->
<div [routerLink]="[ '/register' ]" class='noRegister' *ngIf="register">请先登录！！</div>
<!-- 用户已登录 -->
<div *ngIf="!register">
    <!-- 头像和昵称 -->
    <div class='user'>
        <!-- 头像 -->
        <img src={{img}} alt='头像'>
        <!-- 昵称 -->
        <p>{{tel}}</p>
    </div>
    <ul>
        <!-- 我的订单 -->
        <li>
            <img src="../../../assets/images/切图图标/order.png" class="icon">
            <p>我的订单</p>
            <img src="../../../assets/images/index/u306.png" class='go'>
        </li>
        <!-- 收货地址 -->
        <li>
            <img src="../../../assets/images/切图图标/address.png" class="icon">
            <p>收货地址</p>
            <img src="../../../assets/images/index/u306.png" class='go'>
        </li>
        <!-- 交易明细 -->
        <li>
            <img src="../../../assets/images/切图图标/pay.png" class="icon">
            <p>交易明细</p>
            <img src="../../../assets/images/index/u306.png" class='go'>
        </li>
        <!-- 关于我们 -->
        <li class='our'>
            <img src="../../../assets/images/切图图标/person.png" class="icon">
            <p>关于我们</p>
            <img src="../../../assets/images/index/u306.png" class='go'>
        </li>
    </ul>
</div>